<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    console.log(11 && 22); //22
    console.log(false && 'nihao'); //false
    console.log(33 || 44); //33
    console.log(0 || 55); //55
  </script>
</body>

</html>